#ifndef RPGCHATSERVER_H
#define RPGCHATSERVER_H

#include <QTcpServer>

// Note on QTextStream:
// On Windows (not tested on other OSs),
// QTextStream(stdout), QTextStream(stdin), and QTextStream(stderr) causes crash.
// This is why I am using std::cout instead.

class RPGChatServer : public QTcpServer
{
	Q_OBJECT

public:
	RPGChatServer(QObject* parent = 0);

private:

protected:
	void incomingConnection(int socketDescriptor);
};

#endif
